public class test{
    public static void main(String[] args){
        Bat bat = new Bat("翅膀");
        bat.run();
        
        Whale whale = new Whale("鳍");
        whale.run();
    }
}

abstract class Mammal{
    public String limbsName;
    
    public abstract void run();
}

class Bat extends Mammal{
    public String limbsName;
    
    public Bat(String limbsName){
        this.limbsName = limbsName;
    }
    
    public void run(){
        System.out.println("我移动靠我的" + limbsName);
    }
}

class Whale extends Mammal{
    public String limbsName;
    
    public Whale(String limbsName){
        this.limbsName = limbsName;
    }
    
    public void run(){
        System.out.println("我移动靠我的" + limbsName);
    }
}